package com.nengchuan.eic.nceconomy.entity.vo;

import com.nengchuan.eic.nceconomy.constant.ProjectEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 功能描述:
 *
 * @Author: liurui
 * @Date: 2020/4/29 0029 下午 4:46
 */
@Data
public class IndividualProjectInfoVO {
    @ApiModelProperty("工程Id")
    private Long projectId;
    @ApiModelProperty("工程名称")
    private String projectName;
    @ApiModelProperty("项目类型")
    private String projectType;

    public void generl(com.eic.review.sdk.vo.IndividualProjectInfoVo vo){
        this.projectType= ProjectEnum.getCodeByInterCode(vo.getProjectType());
        this.projectName=vo.getProjectName();
        this.projectId=vo.getProjectId();
    }
}
